var config = require('./api.js')
 
// 文章请求列表
var getPhotoList = function(e){
	return config.getRequest("play_photo_show.ashx",e);
}
var getArticleList = function(e){
	return config.getRequest("play_text_show.ashx",e);
}
var LoginList = function(e){
	return config.getRequest("login.ashx",e);
}
var BackgroundList =function(e){
	return config.getRequest("backgroundGet.ashx",e)
}
var searchidExist = function(e){
	return config.getRequest("searchOpenid.ashx",e)
}
var insertUser = function(e){
	return config.getRequest("insertUser.ashx",e)
}
var returnBackground = function(e){
	return config.getRequest("returnBackground.ashx",e)
}
var updateBackground = function(e){
	return config.getRequest("updateBackground.ashx",e)
}
var addImage = function(e){
	return config.getRequest("addImage.ashx",e)
}
var showMyPhoto = function(e){
	return config.getRequest("showMyPhoto.ashx",e)
}
var showAllPhoto = function(e){
	return config.getRequest("showAllPhoto.ashx",e)
}
var showOnePhoto = function(e){
	return config.getRequest("showOnePhoto.ashx",e)
}
var addComment = function(e){
	return config.getRequest("addComment.ashx",e)
}
var showComment = function(e){
	return config.getRequest("showComment.ashx",e)
}
var addGood = function(e){
	return config.getRequest("addGood.ashx",e)
}
var addGood1 = function(e){
	return config.getRequest("addGood1.ashx",e)
}
var countGood = function(e){
	return config.getRequest("countGood.ashx",e)
}
var deleteImage = function(e){
	return config.getRequest("deleteImage.ashx",e)
}
var deleteGood = function(e){
	return config.getRequest("deleteGood.ashx",e)
}
var deleteComment = function(e){
	return config.getRequest("deleteComment.ashx",e)
}
var deleteMyComment = function(e){
	return config.getRequest("deleteMyComment.ashx",e)
}
var addCollections = function(e){
	return config.getRequest("addCollections.ashx",e)
}
var showCollections = function(e){
	return config.getRequest("showCollections.ashx",e)
}
var showMyCollections = function(e){
	return config.getRequest("showMyCollections.ashx",e)
}

module.exports = {
    getArticleList,
	getPhotoList,
	LoginList,
	BackgroundList,
	searchidExist,
	insertUser,
	returnBackground,
	updateBackground,
	addImage,
	showMyPhoto,
	showAllPhoto,
	showOnePhoto,
	addComment,
	showComment,
	addGood,
	addGood1,
	countGood,
	deleteComment,
	deleteGood,
	deleteImage,
	deleteMyComment,
	addCollections,
	showCollections,
	showMyCollections
}
